This tutorial will cover the following:
Jupyter notebook is apart of Project Jupyter, which exists for interactive computing across dozens of programming languages.
Project Jupyter is a non-profit, open-source project, born out of the IPython Project in 2014 as it evolved to support interactive data science and scientific computing across all programming languages. Jupyter will always be 100% open-source software, free for all to use and released under the liberal terms of the modified BSD license.

conda install -c r r-irkernel
conda install -c r r-essentials
Notes:
r-essentials includes packages 80 of the more popular packages (e.g dplyr, shiny, ggplot2, tidyverse, and caret)1 You can just open Jupyter Notebook, but I like JupyterLab better.
This is much more complicated method. I suggest following the directions below (Windows focused).
This is an inline equation: $e^{i\pi} + 1 = 0$.
If you want an equation on its own line. $$e^x=\sum_{i=0}^\infty \frac{1}{i!}x^i$$
Enter to switch to edit mode for a cell. Esc to switch to command mode (not editing a cell).Help > Markdown ReferenceHelp > Jupyter ReferenceHelp > Keyboard ShortcutsHelp > MarkdownHelp > Notebook HelpEverything you can do in an R terminal, you can do it here!
square <- function(x){ #functions
return(x*x)
}
square(8)
2 + 2 # fancy calculator
print("Hello World!") # print statements
[1] "Hello World!"
a = 10 # variables
print(a)
[1] 10
z = c('Bob', 'Jack', 'Nancy')
for(item in seq_along(z)){ # for loops
print(z[item])
}
[1] "Bob" [1] "Jack" [1] "Nancy"
#install.packages('plotly') # plotly not installed with r-essentials
suppressMessages(library(plotly)) # I do this because I don't like looking at the warnings.
p <- plot_ly(midwest, x = ~percollege, color = ~state, type = "box")
embed_notebook(p) # for jupyter lab only